function main() {
    //程序入口
    require(["pluginAttach", "knockout"], function (pluginAttach, ko) {
        var vm = {
            class1: ko.observable("orange bold"),
            class2: ko.observable("red"),
            isF40: ko.observable(false),
        };

        vm.class3 = ko.pureComputed(function () {
            return this.isF40() ? "f-40" : "f-20";
        }, vm);

        ko.applyBindings(vm, document.getElementById("root"));
        setTimeout(() => {
          vm.isF40(true);
        }, 1000);
    });
}
require(["../scripts/require.config"], main);
